<div class="span11">
	<div class="row-fluid">
		<legend>Editar contacto</legend>
		<tr>
		<?php echo $this->Html->link(__("Listado de Contactos", true), '/contactos/index/', array('title' => __('Listado de Contactos', true), 'class'=>'btn btn-mini btn-primary')); ?>
		</tr>
		<table class="table table-hover table-condensed">	
	      	<tbody>
	      		<fieldset>
				<?php
					echo $this->Form->create('Contacto',array('type'=>'file'));
				?>
				    <div class="row">
				    	<div class="span4">
				    	<?php
				    		echo $this->Form->hidden('id', array('value' => $id));
							echo $this->Form->input('nombres', array('value' => $this->data['Contacto']['nombres']));
							echo $this->Form->input('apellidos', array('value' => $this->data['Contacto']['apellidos']));
							echo $this->Form->input('telefono', array('value' => $this->data['Contacto']['telefono']));
							echo $this->Form->input('celular', array('value' => $this->data['Contacto']['celular']));
						?>
				    	</div>
				    	<div class="span4">
						<?php
							echo $this->Form->input('email', array('value' => $this->data['Contacto']['email']));
							echo $this->Form->input('direccion', array('value' => $this->data['Contacto']['direccion']));
							echo $this->Form->input('empresa', array('value' => $this->data['Contacto']['empresa']));
							echo $this->Form->input('cargo', array('value' => $this->data['Contacto']['cargo']));
						?>    		
				    	</div>
				    	<div class="span4">
						<?php
							echo $this->Form->input('paises_id',array('options'=> $paises, 'value' => $this->data['Contacto']['paises_id']));
							echo $this->Form->input('regiones_id',array('options'=> $regiones, 'value' => $this->data['Contacto']['regiones_id']));
							echo $this->Form->input('localidades_id',array('options'=> $localidades, 'value' => $this->data['Contacto']['localidades_id']));
						?>    		
				    	</div>
				    </div>
				</fieldset>
				<?php
					echo $this->Form->end('Editar');
				?>
	      	</tbody>
		</table>
	</div>
</div>